#include <iostream>
using namespace std;
int t, n , a, b, flag1, flag2, flag3;
int main(){
	cin >> t;
	while(t--){
		flag1 = 0;
		flag2 = 0;
		flag3 = 0;
		cin >> n >> a >> b;
		if (n & 1 == 1) flag1 = 1;
		if (a & 1 == 1) flag2 = 1;
		if (b & 1 == 1) flag3 = 1;
		if ((flag1 == flag2 && flag2 == flag3) || (flag1 == flag3 && a < b)){
			cout << "YES" << endl;
		}
		else cout << "NO" << endl;
	}
	return 0;
}
